using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using WozLib.UI.Ink.SketchObjects;


namespace WozLib.UI.Ink.SketchProperties
{
  public class BoundsCascadingProperty : CascadingProperty
  {

    public BoundsSketchProperty WozThicknessProperty
    {
      get { return WozProperty as BoundsSketchProperty; }
      set { WozProperty = value; }
    }


    public BoundsCascadingProperty(List<ISketchObject> iWozObjects, BoundsSketchProperty wozBoundsProperty)
      : base(iWozObjects, wozBoundsProperty)
    {
      if (WozPropertyVariants.Count > 1)
      {
        this.WozThicknessProperty.Data = new Rect(new Point(1.0,1.0),new Size(1.0,1.0));
      }
    }
  }
}
